
<ion-header>

  <ion-navbar>
    <ion-title>{{title}}</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>

  <div class="changeUserInfo flex">
    <p>{{type}}</p>
    <ion-datetime  *ngIf="type == '生日'"
                   displayFormat="YYYY-MM-DD"
                   cancelText="取消"
                   doneText="完成"
                   [(ngModel)]="Birthday">
    </ion-datetime>
    <input type="text" *ngIf="type == 'QQ'" placeholder="请输入QQ号" [(ngModel)]="QQ">
    <input type="text" *ngIf="type == '微信'" placeholder="请输入微信号" [(ngModel)]="WeChat">
    <input type="text" *ngIf="type == '手机号'" placeholder="请输入微信号" [(ngModel)]="Phone">
    <input type="email" *ngIf="type == '邮箱'" placeholder="请输入微信号" [(ngModel)]="Email">
  </div>
  <div class="saveBtn">
    <button ion-button (click)="submitAction()">保存</button>
  </div>


</ion-content>
